#ifndef _ID_HPP_
#define _ID_HPP_

#define _DEF_IID(iface, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) EXTERN_C const IID iface;

#define _DEF_CLSID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) EXTERN_C const GUID name;

#define _uuidof(iface) (IID_##iface)

#define _DEF_IID_IMPL(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) const IID name = {l, w1, w2, {b1, b2, b3, b4, b5, b6, b7, b8}};

#define _DEF_CLSID_IMPL(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) const GUID name = {l, w1, w2, {b1, b2, b3, b4, b5, b6, b7, b8}};

#endif
